package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author theodo
 * @since 2019-12-30
 */
@TableName("mb_doctor")
public class MbDoctor extends Model<MbDoctor> {

    private static final long serialVersionUID = 1L;

	@TableId(value="doctor_id", type= IdType.AUTO)
	private Long doctorId;
    /**
     * 手机号
     */
	@TableField("doctor_phone")
	private String doctorPhone;
    /**
     * 姓名
     */
	@TableField("doctor_name")
	private String doctorName;
    /**
     * 单位
     */
	@TableField("doctor_comp")
	private String doctorComp;
    /**
     * 邀请码
     */
	@TableField("doctor_code")
	private String doctorCode;
    /**
     * 签名图片
     */
	@TableField("doctor_sign")
	private String doctorSign;


	public Long getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(Long doctorId) {
		this.doctorId = doctorId;
	}

	public String getDoctorPhone() {
		return doctorPhone;
	}

	public void setDoctorPhone(String doctorPhone) {
		this.doctorPhone = doctorPhone;
	}

	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	public String getDoctorComp() {
		return doctorComp;
	}

	public void setDoctorComp(String doctorComp) {
		this.doctorComp = doctorComp;
	}

	public String getDoctorCode() {
		return doctorCode;
	}

	public void setDoctorCode(String doctorCode) {
		this.doctorCode = doctorCode;
	}

	public String getDoctorSign() {
		return doctorSign;
	}

	public void setDoctorSign(String doctorSign) {
		this.doctorSign = doctorSign;
	}

	@Override
	protected Serializable pkVal() {
		return this.doctorId;
	}

	@Override
	public String toString() {
		return "MbDoctor{" +
			", doctorId=" + doctorId +
			", doctorPhone=" + doctorPhone +
			", doctorName=" + doctorName +
			", doctorComp=" + doctorComp +
			", doctorCode=" + doctorCode +
			", doctorSign=" + doctorSign +
			"}";
	}
}
